<route lang="json">
{
  "meta": {
    "title": "t('zui-xing-gong-gao')"
  }
}
</route>
<script setup lang="ts">
import { ArticlePageData } from "./mix";
import { navbarConfig } from "@@/layout/navbar";

const route = useRoute();
const query: ArticlePageData = route.query as any;
navbarConfig.title = query.pageTitle || query.title;
</script>

<template>
  <CpageView>
    <h2 class="T-A-C">{{ query.title }}</h2>
    <div class="MT-md" v-html="query.content"></div>
    <div class="MT-md T-A-R C-T3">{{ query.createAt }}</div>
  </CpageView>
</template>

<style lang="scss" scoped></style>
